<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .arrow {
      position: relative;
      left: 50%;
      width: 0;
      height: 0;
      border: 40px solid black;
      border-left-color: transparent;
      border-right-color: transparent;
      border-top-color: transparent;
      transform-origin: center 60px;
    }
    .arrow:hover {
      transform: rotate(180deg);
      transition: all 0.3s;
    }
  </style>
  <body>
    <div class="arrow"></div>
  </body>
</html>
